[XM-TEST] Increase timeout on hotplug-cpus-down test to 30 seconds.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 14 Jul 2006 11:00:02 +0000 (12:00 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 14 Jul 2006 11:00:02 +0000 (12:00 +0100)
This is needed when dom0 has 32 CPUs.
Signed-off-by: Susan Krysan <krysans@unisys.com>
tools/xm-test/tests/enforce_dom0_cpus/01_enforce_dom0_cpus_basic_pos.py

index a29985afcb583561e811e47cc4e71787242121e6..86da935bea248cbb30fb7f485daa6b37181d5a68 100644 (file)
@@ -73,9 +73,9 @@ if check_status and status != 0:
 
 # 5) check /proc/cpuinfo for cpu count
 
-# It takes some time for the CPU count to change, on multi-proc systems, so check the number of procs in a loop for 20 seconds. 
+# It takes some time for the CPU count to change, on multi-proc systems, so check the number of procs in a loop for 30 seconds. 
 #Sleep inside the loop for a second each time.
-timeout = 20
+timeout = 30
 starttime = time.time()
 while timeout + starttime > time.time():
 # Check /proc/cpuinfo
@@ -108,8 +108,8 @@ if num_online != enforce_dom0_cpus:
 reset_vcpu_count()
 
 # check restore worked
-# Since this also takes time, we will do it in a loop with a 20 second timeout.
-timeout=20
+# Since this also takes time, we will do it in a loop with a 30 second timeout.
+timeout=30
 starttime=time.time()
 while timeout + starttime > time.time(): 
     num_online = int(getDomInfo("Domain-0", "VCPUs"))